package com.prs.crm.dao.ca.work.impl;

import java.util.List;

import com.prs.crm.dao.ca.work.InventoryMaintainDao;
import com.prs.crm.domain.ca.work.InventoryMaintain;
import com.prs.crm.service.ca.work.InventoryMaintainService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class InventorMaintainServiceImpl extends
		BaseServiceImpl<InventoryMaintain, InventoryMaintainDao> implements
		InventoryMaintainService {

	@Override
	public List<InventoryMaintain> getAllInventoryMaintain() {
		return this.getDao().getAllInventoryMaintain();
	}

	@Override
	public InventoryMaintain getInventoryMaintainByArticleTypeId(
			int articleTypeId) {
		return this.getInventoryMaintainByArticleTypeId(articleTypeId);
	}

	@Override
	public InventoryMaintain getInventoryMaintainByDate(String imMaintaindate) {
		return this.getDao().getInventoryMaintainByDate(imMaintaindate);
	}

	@Override
	public void saveOrInventoryMaintain(InventoryMaintain inventoryMaintain) {
		this.getDao().saveOrInventoryMaintain(inventoryMaintain);
	}
}
